package ai.people.netmon.warning.service;

import ai.people.netmon.framework.domain.warning.entity.WarningAccountCollect;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
* @author ligua
* @description 针对表【warning_account_collect(预警账号收藏表)】的数据库操作Service
* @createDate 2022-07-28 17:50:38
*/
public interface WarningAccountCollectService extends IService<WarningAccountCollect> {

    /**
     * 通过参数集合批量查询信息
     *
     * @param checkParamList 账号id
     * @return {@link List}<{@link WarningAccountCollect}>
     */
    List<WarningAccountCollect> batchQueryByParamList(List<WarningAccountCollect> checkParamList);

    /**
     * 账户收藏
     *
     * @param accountCollect 账户收取
     * @return {@link Integer}
     */
    Integer accountCollect(WarningAccountCollect accountCollect, String rowDataJson);

    /**
     * 账户取消收藏
     *
     * @param accountCollect 账户收取
     * @return {@link Integer}
     */
    Integer accountCancelCollect(WarningAccountCollect accountCollect);
}

